//
//  CertificationStatesViewController.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/4/24.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class CertificationStatesViewController: BaseViewController {
    var viewModel:CertificationStatesViewModel?
    lazy var certificationView:CertificationStatesView = {
        let view = CertificationStatesView(dataSource: self)
        
        return view
    }()
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        self.title = kText("实名认证")
        viewModel = CertificationStatesViewModel(controller: self)
        self.view.addSubview(certificationView)
        certificationView.snp.makeConstraints { (make) in
            make.top.left.bottom.right.equalToSuperview()
        }
        
        viewModel?.archiveInformation()
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
